home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Apple II / System 6.0 Sample Code / FinderXDA / FinderXDA.Controls.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-15  |  33.0 KB  |  1,343 lines  |  [TEXT/MPS ]

  1. /********************************************************************************
  2.                                 new.controls.c
  3.     This file contains global data defining controls that are used in testing. 
  4.     These templates are for extended controls.
  5.     
  6. *********************************************************************************/
  7.  
  8.  
  9. #include <types.h>
  10. #include <quickdraw.h>
  11. #include <control.h>
  12. #define mtItemRefArrayLength 50
  13. #include <menu.h>
  14. #include <TextEdit.h>
  15. #include "finder.h"
  16.  
  17.  
  18. /************************************************************************************************/
  19.  
  20. /* Here's the controls for entering a pathname */
  21.  
  22. char    PathnameTextString[] = "\pEnter complete Pathname beginning with ':'";
  23.  
  24. StaticTextTemplate PathnameStatText =    {9,
  25.                                         0x00000400L,
  26.                                         {8,10,18,440},
  27.                                         statTextControl,
  28.                                         0x0003,
  29.                                         0x1000,
  30.                                         0L,
  31.                                         (Long)PathnameTextString,
  32.                                         43,
  33.                                         1};
  34.  
  35. TextEditTemplate    PathnameTextEdit =     {16,
  36.                                         0x00000401L,
  37.                                         {18,10,40,440},
  38.                                         editTextControl,
  39.                                         0x0000,
  40.                                         0x7400,
  41.                                         0L,
  42.                                         0x49800000L,
  43.                                         {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  44.                                         0L,
  45.                                         0x0000,
  46.                                         0L,
  47.                                         0,
  48.                                         0L,
  49.                                         0,
  50.                                         0L,
  51.                                         1L};
  52.  
  53. /************************************************************************************************/        
  54.  
  55. /* Here's the pop-up menu and menuitems for installing and removing request procs */
  56.  
  57. MenuItemTemplate Hello =                 {0,
  58.                                         0x0100,
  59.                                         0,
  60.                                         0,
  61.                                         0,
  62.                                         0x0000,
  63.                                         (Long)"\pfinderSaysHello"};
  64.                                                     
  65. MenuItemTemplate Goodbye =                 {0,
  66.                                         0x0101,
  67.                                         0,
  68.                                         0,
  69.                                         0,
  70.                                         0x0000,
  71.                                         (Long)"\pfinderSaysGoodbye"};
  72.                                                     
  73. MenuItemTemplate SelectionChanged =     {0,
  74.                                         0x0102,
  75.                                         0,
  76.                                         0,
  77.                                         0,
  78.                                         0x0000,
  79.                                         (Long)"\pfinderSaysSelectionChanged"};
  80.                                                     
  81. MenuItemTemplate MItemSelected =         {0,
  82.                                         0x0103,
  83.                                         0,
  84.                                         0,
  85.                                         0,
  86.                                         0x0000,
  87.                                         (Long)"\pfinderSaysMItemSelected"};
  88.  
  89. MenuItemTemplate BeforeOpen =             {0,
  90.                                         0x0104,
  91.                                         0,
  92.                                         0,
  93.                                         0,
  94.                                         0x0000,
  95.                                         (Long)"\pfinderSaysBeforeOpen"};
  96.  
  97. MenuItemTemplate OpenFailed =             {0,
  98.                                         0x0105,
  99.                                         0,
  100.                                         0,
  101.                                         0,
  102.                                         0x0000,
  103.                                         (Long)"\pfinderSaysOpenFailed"};
  104.  
  105. MenuItemTemplate BeforeCopy =             {0,
  106.                                         0x0106,
  107.                                         0,
  108.                                         0,
  109.                                         0,
  110.                                         0x0000,
  111.                                         (Long)"\pfinderSaysBeforeCopy"};
  112.  
  113. MenuItemTemplate Idle =                 {0,
  114.                                         0x0107,
  115.                                         0,
  116.                                         0,
  117.                                         0,
  118.                                         0x0000,
  119.                                         (Long)"\pfinderSaysIdle"};
  120.  
  121. MenuItemTemplate ExtrasChosen =         {0,
  122.                                         0x0108,
  123.                                         0,
  124.                                         0,
  125.                                         0,
  126.                                         0x0000,
  127.                                         (Long)"\pfinderSaysExtrasChosen"};
  128.                                                     
  129. MenuItemTemplate BeforeRename =         {0,
  130.                                         0x0109,
  131.                                         0,
  132.                                         0,
  133.                                         0,
  134.                                         0x0000,
  135.                                         (Long)"\pfinderSaysBeforeRename"};
  136.  
  137. MenuItemTemplate KeyHit =                 {0,
  138.                                         0x010A,
  139.                                         0,
  140.                                         0,
  141.                                         0,
  142.                                         0x0000,
  143.                                         (Long)"\pfinderSaysKeyHit"};
  144.  
  145. MenuItemTemplate RemoveReqProcs =         {0,
  146.                                         0x010B,
  147.                                         0,
  148.                                         0,
  149.                                         0,
  150.                                         0x0000,
  151.                                         (Long)"\pRemove Request Procs"};
  152.  
  153. char finderSaysPopUpTitleString[] = "\pfinderSays";
  154.  
  155. MenuTemplate AcceptRequestsPopUpMenuTemplate =        {0,
  156.                                                     0x0010,
  157.                                                     0x0000,
  158.                                                     (Long)finderSaysPopUpTitleString,
  159.                                                     {(Long)&Hello,
  160.                                                     (Long)&Goodbye,
  161.                                                     (Long)&SelectionChanged,
  162.                                                     (Long)&MItemSelected,
  163.                                                     (Long)&BeforeOpen,
  164.                                                     (Long)&OpenFailed,
  165.                                                     (Long)&BeforeCopy,
  166.                                                     (Long)&Idle,
  167.                                                     (Long)&ExtrasChosen,
  168.                                                     (Long)&BeforeRename,
  169.                                                     (Long)&KeyHit,
  170.                                                     (Long)&RemoveReqProcs,
  171.                                                     0x00000000L}};
  172.  
  173. PopupTemplate    AcceptRequestsPopUp =    {9,
  174.                                         0x00000100L,
  175.                                         {50,10,0,0},
  176.                                         popUpControl,
  177.                                         0x0060,
  178.                                         0x3080,
  179.                                         0L,
  180.                                         120,
  181.                                         (Long)&AcceptRequestsPopUpMenuTemplate,
  182.                                         0x0100};
  183.  
  184. /************************************************************************************************/
  185.  
  186. /* Define all the FinderRequests menu items, menu, and popup control to display menu. */
  187.  
  188. MenuItemTemplate GetDebugInfo =                 {0,
  189.                                                 0x8000,
  190.                                                 0,
  191.                                                 0,
  192.                                                 0,
  193.                                                 0x0000,
  194.                                                 (Long)"\ptellFinderGetDebugInfo"};
  195.  
  196. MenuItemTemplate AreYouThere =                     {0,
  197.                                                 0x8001,
  198.                                                 0,
  199.                                                 0,
  200.                                                 0,
  201.                                                 0x0000,
  202.                                                 (Long)"\paskFinderAreYouThere"};
  203.  
  204. MenuItemTemplate OpenWindow =                     {0,
  205.                                                 0x8002,
  206.                                                 0,
  207.                                                 0,
  208.                                                 0,
  209.                                                 0x0000,
  210.                                                 (Long)"\ptellFinderOpenWindow"};
  211.  
  212. MenuItemTemplate _CloseWindow =                     {0,
  213.                                                 0x8003,
  214.                                                 0,
  215.                                                 0,
  216.                                                 0,
  217.                                                 0x0000,
  218.                                                 (Long)"\ptellFinderCloseWindow"};
  219.  
  220. MenuItemTemplate GetSelectedIcons =             {0,
  221.                                                 0x8004,
  222.                                                 0,
  223.                                                 0,
  224.                                                 0,
  225.                                                 0x0000,
  226.                                                 (Long)"\ptellFinderGetSelectedIcons"};
  227.  
  228. MenuItemTemplate SetSelectedIcons =             {0,
  229.                                                 0x8005,
  230.                                                 0,
  231.                                                 0,
  232.                                                 0,
  233.                                                 0x0000,
  234.                                                 (Long)"\ptellFinderSetSelectedIcons"};
  235.  
  236. MenuItemTemplate LaunchThisAp =                 {0,
  237.                                                 0x8006,
  238.                                                 0,
  239.                                                 0,
  240.                                                 0,
  241.                                                 0x0000,
  242.                                                 (Long)"\ptellFinderLaunchThis(Ap)"};
  243.  
  244. MenuItemTemplate ShutDownOff =                     {0,
  245.                                                 0x807A,
  246.                                                 0,
  247.                                                 0,
  248.                                                 0,
  249.                                                 0x0000,
  250.                                                 (Long)"\ptellFinderShutDown(Off)"};
  251.  
  252. MenuItemTemplate ShutDownRestart =                {0,
  253.                                                 0x807B,
  254.                                                 0,
  255.                                                 0,
  256.                                                 0,
  257.                                                 0x0000,
  258.                                                 (Long)"\ptellFinderShutDown(Restart)"};
  259.  
  260. MenuItemTemplate ShutDownQuit =                    {0,
  261.                                                 0x807C,
  262.                                                 0,
  263.                                                 0,
  264.                                                 0,
  265.                                                 0x0000,
  266.                                                 (Long)"\ptellFinderShutDown(Quit)"};
  267.  
  268. MenuItemTemplate MatchFileToIcon =                 {0,
  269.                                                 0x800A,
  270.                                                 0,
  271.                                                 0,
  272.                                                 0,
  273.                                                 0x0000,
  274.                                                 (Long)"\ptellFinderMatchFileToIcon"};
  275.  
  276. MenuItemTemplate AddBundle =                     {0,
  277.                                                 0x800B,
  278.                                                 0,
  279.                                                 0,
  280.                                                 0,
  281.                                                 0x0000,
  282.                                                 (Long)"\ptellFinderAddBundle"};
  283.  
  284. MenuItemTemplate AboutChange =                     {0,
  285.                                                 0x800C,
  286.                                                 0,
  287.                                                 0,
  288.                                                 0,
  289.                                                 0x0000,
  290.                                                 (Long)"\ptellFinderAboutChange"};
  291.  
  292. MenuItemTemplate AboutDatabase =                 {0,
  293.                                                 0x800D,
  294.                                                 0,
  295.                                                 0,
  296.                                                 0,
  297.                                                 0x0000,
  298.                                                 (Long)"\ptellFinderAboutDatabase"};
  299.  
  300. MenuItemTemplate AddToExtras =                     {0,
  301.                                                 0x800F,
  302.                                                 0,
  303.                                                 0,
  304.                                                 0,
  305.                                                 0x0000,
  306.                                                 (Long)"\ptellFinderAddToExtras"};
  307.  
  308. MenuItemTemplate IdleHowLong =                     {0,
  309.                                                 0x8011,
  310.                                                 0,
  311.                                                 0,
  312.                                                 0,
  313.                                                 0x0000,
  314.                                                 (Long)"\paskFinderIdleHowLong"};
  315.  
  316. MenuItemTemplate GetWindowIcons =                 {0,
  317.                                                 0x8012,
  318.                                                 0,
  319.                                                 0,
  320.                                                 0,
  321.                                                 0x0000,
  322.                                                 (Long)"\ptellFinderGetWindowIcons"};
  323.  
  324. MenuItemTemplate GetWindowInfo =                 {0,
  325.                                                 0x8013,
  326.                                                 0,
  327.                                                 0,
  328.                                                 0,
  329.                                                 0x0000,
  330.                                                 (Long)"\ptellFinderGetWindowInfo"};
  331.  
  332. MenuItemTemplate RemoveFromExtras =             {0,
  333.                                                 0x8014,
  334.                                                 0,
  335.                                                 0,
  336.                                                 0,
  337.                                                 0x0000,
  338.                                                 (Long)"\ptellFinderRemoveFromExtras"};
  339.  
  340. MenuItemTemplate SpecialPreferences =             {0,
  341.                                                 0x8015,
  342.                                                 0,
  343.                                                 0,
  344.                                                 0,
  345.                                                 0x0000,
  346.                                                 (Long)"\ptellFinderSpecialPreferences"};
  347.  
  348. char tellFinderPopUpTitleString[] = "\ptellFinder";
  349.  
  350. MenuTemplate SendRequestsPopUpMenuTemplate =    {0,
  351.                                                 0x0080,
  352.                                                 0x0000,
  353.                                                 (Long)tellFinderPopUpTitleString,
  354.                                                 {(Long)&GetDebugInfo,
  355.                                                 (Long)&AreYouThere,
  356.                                                 (Long)&OpenWindow,
  357.                                                 (Long)&_CloseWindow,
  358.                                                 (Long)&GetSelectedIcons,
  359.                                                 (Long)&SetSelectedIcons,
  360.                                                 (Long)&LaunchThisAp,
  361.                                                 (Long)&ShutDownOff,
  362.                                                 (Long)&ShutDownRestart,
  363.                                                 (Long)&ShutDownQuit,
  364.                                                 (Long)&MatchFileToIcon,
  365.                                                 (Long)&AddBundle,
  366.                                                 (Long)&AboutChange,
  367.                                                 (Long)&AboutDatabase,
  368.                                                 (Long)&AddToExtras,
  369.                                                 (Long)&IdleHowLong,
  370.                                                 (Long)&GetWindowIcons,
  371.                                                 (Long)&GetWindowInfo,
  372.                                                 (Long)&RemoveFromExtras,
  373.                                                 (Long)&SpecialPreferences,
  374.                                                 0x00000000L}};
  375.  
  376. PopupTemplate    SendRequestsPopUp =    {9,
  377.                                     0x00000800L,
  378.                                     {70,10,0,0},
  379.                                     popUpControl,
  380.                                     0x0060,
  381.                                     0x3080,
  382.                                     0L,
  383.                                     120,
  384.                                     (Long)&SendRequestsPopUpMenuTemplate,
  385.                                     0x8000};
  386.  
  387. /************************************************************************************************/
  388.  
  389. /* Here's the tellFinerMItemSelected pop-up menu and menu items */
  390.  
  391. MenuItemTemplate finderItemAboutID =                 {0,
  392.                                                     finderItemAbout,
  393.                                                     0,
  394.                                                     0,
  395.                                                     0,
  396.                                                     0x0000,
  397.                                                     (Long)"\pfinderItemAbout"};
  398.  
  399. MenuItemTemplate finderItemHelpID =                 {0,
  400.                                                     finderItemHelp,
  401.                                                     0,
  402.                                                     0,
  403.                                                     0,
  404.                                                     0x0000,
  405.                                                     (Long)"\pfinderItemHelp"};
  406.  
  407. MenuItemTemplate finderItemNewFolderID =             {0,
  408.                                                     finderItemNewFolder,
  409.                                                     0,
  410.                                                     0,
  411.                                                     0,
  412.                                                     0x0000,
  413.                                                     (Long)"\pfinderItemNewFolder"};
  414.  
  415. MenuItemTemplate finderItemOpenID =                 {0,
  416.                                                     finderItemOpen,
  417.                                                     0,
  418.                                                     0,
  419.                                                     0,
  420.                                                     0x0000,
  421.                                                     (Long)"\pfinderItemOpen"};
  422.  
  423. MenuItemTemplate finderItemPrintID =                 {0,
  424.                                                     finderItemPrint,
  425.                                                     0,
  426.                                                     0,
  427.                                                     0,
  428.                                                     0x0000,
  429.                                                     (Long)"\pfinderItemPrint"};
  430.  
  431. MenuItemTemplate finderItemCloseID =                 {0,
  432.                                                     finderItemClose,
  433.                                                     0,
  434.                                                     0,
  435.                                                     0,
  436.                                                     0x0000,
  437.                                                     (Long)"\pfinderItemClose"};
  438.  
  439. MenuItemTemplate finderItemCloseAllID =             {0,
  440.                                                     finderItemCloseAll,
  441.                                                     0,
  442.                                                     0,
  443.                                                     0,
  444.                                                     0x0000,
  445.                                                     (Long)"\pfinderItemCloseAll"};
  446.  
  447. MenuItemTemplate finderItemDuplicateID =             {0,
  448.                                                     finderItemDuplicate,
  449.                                                     0,
  450.                                                     0,
  451.                                                     0,
  452.                                                     0x0000,
  453.                                                     (Long)"\pfinderItemDuplicate"};
  454.  
  455. MenuItemTemplate finderItemPutAwayID =                 {0,
  456.                                                     finderItemPutAway,
  457.                                                     0,
  458.                                                     0,
  459.                                                     0,
  460.                                                     0x0000,
  461.                                                     (Long)"\pfinderItemPutAway"};
  462.  
  463. MenuItemTemplate finderItemValidateID =             {0,
  464.                                                     finderItemValidate,
  465.                                                     0,
  466.                                                     0,
  467.                                                     0,
  468.                                                     0x0000,
  469.                                                     (Long)"\pfinderItemValidate"};
  470.  
  471. MenuItemTemplate finderItemUndoID =                 {0,
  472.                                                     finderItemUndo,
  473.                                                     0,
  474.                                                     0,
  475.                                                     0,
  476.                                                     0x0000,
  477.                                                     (Long)"\pfinderItemUndo"};
  478.  
  479. MenuItemTemplate finderItemCutID =                     {0,
  480.                                                     finderItemCut,
  481.                                                     0,
  482.                                                     0,
  483.                                                     0,
  484.                                                     0x0000,
  485.                                                     (Long)"\pfinderItemCut"};
  486.  
  487. MenuItemTemplate finderItemCopyID =                 {0,
  488.                                                     finderItemCopy,
  489.                                                     0,
  490.                                                     0,
  491.                                                     0,
  492.                                                     0x0000,
  493.                                                     (Long)"\pfinderItemCopy"};
  494.  
  495. MenuItemTemplate finderItemPasteID =                 {0,
  496.                                                     finderItemPaste,
  497.                                                     0,
  498.                                                     0,
  499.                                                     0,
  500.                                                     0x0000,
  501.                                                     (Long)"\pfinderItemPaste"};
  502.  
  503. MenuItemTemplate finderItemClearID =                 {0,
  504.                                                     finderItemClear,
  505.                                                     0,
  506.                                                     0,
  507.                                                     0,
  508.                                                     0x0000,
  509.                                                     (Long)"\pfinderItemClear"};
  510.  
  511. MenuItemTemplate finderItemSelectAllID =             {0,
  512.                                                     finderItemSelectAll,
  513.                                                     0,
  514.                                                     0,
  515.                                                     0,
  516.                                                     0x0000,
  517.                                                     (Long)"\pfinderItemSelectAll"};
  518.  
  519. MenuItemTemplate finderItemShowClipboardID =         {0,
  520.                                                     finderItemShowClipboard,
  521.                                                     0,
  522.                                                     0,
  523.                                                     0,
  524.                                                     0x0000,
  525.                                                     (Long)"\pfinderItemShowClipboard"};
  526.  
  527. MenuItemTemplate finderItemStackWindowsID =         {0,
  528.                                                     finderItemStackWindows,
  529.                                                     0,
  530.                                                     0,
  531.                                                     0,
  532.                                                     0x0000,
  533.                                                     (Long)"\pfinderItemStackWindows"};
  534.  
  535. MenuItemTemplate finderItemByIconID =                 {0,
  536.                                                     finderItemByIcon,
  537.                                                     0,
  538.                                                     0,
  539.                                                     0,
  540.                                                     0x0000,
  541.                                                     (Long)"\pfinderItemByIcon"};
  542.  
  543. MenuItemTemplate finderItemBySmallIconID =             {0,
  544.                                                     finderItemBySmallIcon,
  545.                                                     0,
  546.                                                     0,
  547.                                                     0,
  548.                                                     0x0000,
  549.                                                     (Long)"\pfinderItemBySmallIcon"};
  550.  
  551. MenuItemTemplate finderItemByNameID =                 {0,
  552.                                                     finderItemByName,
  553.                                                     0,
  554.                                                     0,
  555.                                                     0,
  556.                                                     0x0000,
  557.                                                     (Long)"\pfinderItemByName"};
  558.  
  559. MenuItemTemplate finderItemByDateID =                 {0,
  560.                                                     finderItemByDate,
  561.                                                     0,
  562.                                                     0,
  563.                                                     0,
  564.                                                     0x0000,
  565.                                                     (Long)"\pfinderItemByDate"};
  566.  
  567. MenuItemTemplate finderItemBySizeID =                 {0,
  568.                                                     finderItemBySize,
  569.                                                     0,
  570.                                                     0,
  571.                                                     0,
  572.                                                     0x0000,
  573.                                                     (Long)"\pfinderItemBySize"};
  574.  
  575. MenuItemTemplate finderItemByKindID =                 {0,
  576.                                                     finderItemByKind,
  577.                                                     0,
  578.                                                     0,
  579.                                                     0,
  580.                                                     0x0000,
  581.                                                     (Long)"\pfinderItemByKind"};
  582.  
  583. MenuItemTemplate finderItemFormatID =                 {0,
  584.                                                     finderItemFormat,
  585.                                                     0,
  586.                                                     0,
  587.                                                     0,
  588.                                                     0x0000,
  589.                                                     (Long)"\pfinderItemFormat"};
  590.  
  591. MenuItemTemplate finderItemEraseID =                 {0,
  592.                                                     finderItemErase,
  593.                                                     0,
  594.                                                     0,
  595.                                                     0,
  596.                                                     0x0000,
  597.                                                     (Long)"\pfinderItemErase"};
  598.  
  599. MenuItemTemplate finderItemVerifyID =                 {0,
  600.                                                     finderItemVerify,
  601.                                                     0,
  602.                                                     0,
  603.                                                     0,
  604.                                                     0x0000,
  605.                                                     (Long)"\pfinderItemVerify"};
  606.  
  607. MenuItemTemplate finderItemEjectID =                 {0,
  608.                                                     finderItemEject,
  609.                                                     0,
  610.                                                     0,
  611.                                                     0,
  612.                                                     0x0000,
  613.                                                     (Long)"\pfinderItemEject"};
  614.  
  615. MenuItemTemplate finderItemCleanUpID =                 {0,
  616.                                                     finderItemCleanUp,
  617.                                                     0,
  618.                                                     0,
  619.                                                     0,
  620.                                                     0x0000,
  621.                                                     (Long)"\pfinderItemCleanUp"};
  622.  
  623. MenuItemTemplate finderItemEmptyTrashID =             {0,
  624.                                                     finderItemEmptyTrash,
  625.                                                     0,
  626.                                                     0,
  627.                                                     0,
  628.                                                     0x0000,
  629.                                                     (Long)"\pfinderItemEmptyTrash"};
  630.  
  631. MenuItemTemplate finderItemPreferencesID =             {0,
  632.                                                     finderItemPreferences,
  633.                                                     0,
  634.                                                     0,
  635.                                                     0,
  636.                                                     0x0000,
  637.                                                     (Long)"\pfinderItemPreferences"};
  638.  
  639. MenuItemTemplate finderItemIconInfoID =             {0,
  640.                                                     finderItemIconInfo,
  641.                                                     0,
  642.                                                     0,
  643.                                                     0,
  644.                                                     0x0000,
  645.                                                     (Long)"\pfinderItemIconInfo"};
  646.  
  647. MenuItemTemplate finderItemShutDownID =             {0,
  648.                                                     finderItemShutDown,
  649.                                                     0,
  650.                                                     0,
  651.                                                     0,
  652.                                                     0x0000,
  653.                                                     (Long)"\pfinderItemShutDown"};
  654.  
  655. MenuItemTemplate finderItemCleanUpByNameID =         {0,
  656.                                                     finderItemCleanUpByName,
  657.                                                     0,
  658.                                                     0,
  659.                                                     0,
  660.                                                     0x0000,
  661.                                                     (Long)"\pfinderItemCleanUpByName"};
  662.  
  663. MenuItemTemplate finderItemColorBlackID =             {0,
  664.                                                     finderItemColorBlack,
  665.                                                     0,
  666.                                                     0,
  667.                                                     0,
  668.                                                     0x0000,
  669.                                                     (Long)"\pfinderItemColorBlack"};
  670.  
  671. MenuItemTemplate finderItemColorBlueID =             {0,
  672.                                                     finderItemColorBlue,
  673.                                                     0,
  674.                                                     0,
  675.                                                     0,
  676.                                                     0x0000,
  677.                                                     (Long)"\pfinderItemColorBlue"};
  678.  
  679. MenuItemTemplate finderItemColorYellowBrownID =     {0,
  680.                                                     finderItemColorYellowBrown,
  681.                                                     0,
  682.                                                     0,
  683.                                                     0,
  684.                                                     0x0000,
  685.                                                     (Long)"\pfinderItemColorYellowBrown"};
  686.  
  687. MenuItemTemplate finderItemColorGray1ID =             {0,
  688.                                                     finderItemColorGray1,
  689.                                                     0,
  690.                                                     0,
  691.                                                     0,
  692.                                                     0x0000,
  693.                                                     (Long)"\pfinderItemColorGray1"};
  694.  
  695. MenuItemTemplate finderItemColorRedID =             {0,
  696.                                                     finderItemColorRed,
  697.                                                     0,
  698.                                                     0,
  699.                                                     0,
  700.                                                     0x0000,
  701.                                                     (Long)"\pfinderItemColorRed"};
  702.  
  703. MenuItemTemplate finderItemColorPurpleID =             {0,
  704.                                                     finderItemColorPurple,
  705.                                                     0,
  706.                                                     0,
  707.                                                     0,
  708.                                                     0x0000,
  709.                                                     (Long)"\pfinderItemColorPurple"};
  710.  
  711. MenuItemTemplate finderItemColorOrangeID =             {0,
  712.                                                     finderItemColorOrange,
  713.                                                     0,
  714.                                                     0,
  715.                                                     0,
  716.                                                     0x0000,
  717.                                                     (Long)"\pfinderItemColorOrange"};
  718.  
  719. MenuItemTemplate finderItemColorPinkID =             {0,
  720.                                                     finderItemColorPink,
  721.                                                     0,
  722.                                                     0,
  723.                                                     0,
  724.                                                     0x0000,
  725.                                                     (Long)"\pfinderItemColorPink"};
  726.  
  727. MenuItemTemplate finderItemColorDarkGreenID =         {0,
  728.                                                     finderItemColorDarkGreen,
  729.                                                     0,
  730.                                                     0,
  731.                                                     0,
  732.                                                     0x0000,
  733.                                                     (Long)"\pfinderItemColorDarkGreen"};
  734.  
  735. MenuItemTemplate finderItemColorAquaID =             {0,
  736.                                                     finderItemColorAqua,
  737.                                                     0,
  738.                                                     0,
  739.                                                     0,
  740.                                                     0x0000,
  741.                                                     (Long)"\pfinderItemColorAqua"};
  742.  
  743. MenuItemTemplate finderItemColorBrightGreenID =     {0,
  744.                                                     finderItemColorBrightGreen,
  745.                                                     0,
  746.                                                     0,
  747.                                                     0,
  748.                                                     0x0000,
  749.                                                     (Long)"\pfinderItemColorBrightGreen"};
  750.  
  751. MenuItemTemplate finderItemColorPaleGreenID =         {0,
  752.                                                     finderItemColorPaleGreen,
  753.                                                     0,
  754.                                                     0,
  755.                                                     0,
  756.                                                     0x0000,
  757.                                                     (Long)"\pfinderItemColorPaleGreen"};
  758.  
  759. MenuItemTemplate finderItemColorPeriwinkleBlueID =     {0,
  760.                                                     finderItemColorPeriwinkleBlue,
  761.                                                     0,
  762.                                                     0,
  763.                                                     0,
  764.                                                     0x0000,
  765.                                                     (Long)"\pfinderItemColorPeriwinkleBlue"};
  766.  
  767. MenuItemTemplate finderItemColorYellowID =             {0,
  768.                                                     finderItemColorYellow,
  769.                                                     0,
  770.                                                     0,
  771.                                                     0,
  772.                                                     0x0000,
  773.                                                     (Long)"\pfinderItemColorYellow"};
  774.  
  775. MenuItemTemplate finderItemColorWhiteID =             {0,
  776.                                                     finderItemColorWhite,
  777.                                                     0,
  778.                                                     0,
  779.                                                     0,
  780.                                                     0x0000,
  781.                                                     (Long)"\pfinderItemColorWhite"};
  782.  
  783. char tellFinderMItemSelectedTitleString[] = "\pMItemSelected";
  784.  
  785. MenuTemplate tellFinderMItemSelectedPopUpMenuTemplate =    {0,
  786.                                                         0x0090,
  787.                                                         0x0000,
  788.                                                         (Long)tellFinderMItemSelectedTitleString,
  789.                                                         {(Long)&finderItemAboutID,
  790.                                                         (Long)&finderItemHelpID,
  791.                                                         (Long)&finderItemNewFolderID,
  792.                                                         (Long)&finderItemOpenID,
  793.                                                         (Long)&finderItemPrintID,
  794.                                                         (Long)&finderItemCloseID,
  795.                                                         (Long)&finderItemCloseAllID,
  796.                                                         (Long)&finderItemDuplicateID,
  797.                                                         (Long)&finderItemPutAwayID,
  798.                                                         (Long)&finderItemValidateID,
  799.                                                         (Long)&finderItemUndoID,
  800.                                                         (Long)&finderItemCutID,
  801.                                                         (Long)&finderItemCopyID,
  802.                                                         (Long)&finderItemPasteID,
  803.                                                         (Long)&finderItemClearID,
  804.                                                         (Long)&finderItemSelectAllID,
  805.                                                         (Long)&finderItemShowClipboardID,
  806.                                                         (Long)&finderItemStackWindowsID,
  807.                                                         (Long)&finderItemByIconID,
  808.                                                         (Long)&finderItemBySmallIconID,
  809.                                                         (Long)&finderItemByNameID,
  810.                                                         (Long)&finderItemByDateID,
  811.                                                         (Long)&finderItemBySizeID,
  812.                                                         (Long)&finderItemByKindID,
  813.                                                         (Long)&finderItemFormatID,
  814.                                                         (Long)&finderItemEraseID,
  815.                                                         (Long)&finderItemVerifyID,
  816.                                                         (Long)&finderItemEjectID,
  817.                                                         (Long)&finderItemCleanUpID,
  818.                                                         (Long)&finderItemEmptyTrashID,
  819.                                                         (Long)&finderItemPreferencesID,
  820.                                                         (Long)&finderItemIconInfoID,
  821.                                                         (Long)&finderItemShutDownID,
  822.                                                         (Long)&finderItemCleanUpByNameID,
  823.                                                         (Long)&finderItemColorBlackID,
  824.                                                         (Long)&finderItemColorBlueID,
  825.                                                         (Long)&finderItemColorYellowBrownID,
  826.                                                         (Long)&finderItemColorGray1ID,
  827.                                                         (Long)&finderItemColorRedID,
  828.                                                         (Long)&finderItemColorPurpleID,
  829.                                                         (Long)&finderItemColorOrangeID,
  830.                                                         (Long)&finderItemColorPinkID,
  831.                                                         (Long)&finderItemColorDarkGreenID,
  832.                                                         (Long)&finderItemColorAquaID,
  833.                                                         (Long)&finderItemColorBrightGreenID,
  834.                                                         (Long)&finderItemColorPaleGreenID,
  835.                                                         (Long)&finderItemColorPeriwinkleBlueID,
  836.                                                         (Long)&finderItemColorYellowID,
  837.                                                         (Long)&finderItemColorWhiteID,
  838.                                                         0x00000000L}};
  839.  
  840. PopupTemplate    tellFinderMItemSelectedPopUp =    {9,
  841.                                                 0x00000900L,
  842.                                                 {90,10,0,0},
  843.                                                 popUpControl,
  844.                                                 0x0060,
  845.                                                 0x3080,
  846.                                                 0L,
  847.                                                 120,
  848.                                                 (Long)&tellFinderMItemSelectedPopUpMenuTemplate,
  849.                                                 finderItemAbout};
  850.  
  851. /************************************************************************************************/
  852.  
  853. /* Here's a control used in association with tellFinderMItemSelected request code */
  854.  
  855. char    HiliteBitCheckBoxTitle[] =         "\pMItem Hilite Bit";
  856.  
  857. CheckBoxTemplate HiliteBitCheckBox =    {8,
  858.                                         0x00000901L,
  859.                                         {110,10,0,0},
  860.                                         checkControl,
  861.                                         0x0000,
  862.                                         0x1000,
  863.                                         0L,
  864.                                         (Long)HiliteBitCheckBoxTitle,
  865.                                         1};                                                
  866.  
  867. /************************************************************************************************/
  868.  
  869. /* Here's a control used in association with finderSaysMItemSelected request code */
  870.  
  871. char    HandleItFlagCheckBoxTitle[] =     "\pAbortItFlag";
  872.  
  873. CheckBoxTemplate HandleItFlagCheckBox =    {8,
  874.                                         0x00000902L,
  875.                                         {110,170,0,0},
  876.                                         checkControl,
  877.                                         0x0000,
  878.                                         0x1000,
  879.                                         0L,
  880.                                         (Long)HandleItFlagCheckBoxTitle,
  881.                                         0};                                                
  882.  
  883. /************************************************************************************************/
  884.  
  885. /* Here's a control used in association with tellFinderSetSelectedIcons request code */
  886.  
  887. char    DeselectIconsCheckBoxTitle[] =     "\pDeselect Icons";
  888.  
  889. CheckBoxTemplate DeselectIconsCheckBox =    {8,
  890.                                             0x0000805AL,
  891.                                             {110,300,0,0},
  892.                                             checkControl,
  893.                                             0x0000,
  894.                                             0x1000,
  895.                                             0L,
  896.                                             (Long)DeselectIconsCheckBoxTitle,
  897.                                             0};                                                
  898.  
  899. /************************************************************************************************/
  900.  
  901. /* Here's a control used in association with tellFinderGetSelectedIcons and tellFinderGetWindowIcons request code */
  902.  
  903. char    ExtendedIconsCheckBoxTitle[] =     "\pExtended Icons";
  904.  
  905. CheckBoxTemplate ExtendedIconsCheckBox =    {8,
  906.                                             0x00000903L,
  907.                                             {130,300,0,0},
  908.                                             checkControl,
  909.                                             0x0000,
  910.                                             0x1000,
  911.                                             0L,
  912.                                             (Long)ExtendedIconsCheckBoxTitle,
  913.                                             0};                                                
  914.  
  915. /************************************************************************************************/
  916.  
  917. /* Here's all the controls used for the tellFinderColorSelection request code */
  918.  
  919. char    EnterColorTextString[] =             "Icon Color (format is wx00yz00)";
  920.  
  921. StaticTextTemplate ColorValueStatText =        {8,
  922.                                             0x00000500L,
  923.                                             {130,30,140,290},
  924.                                             statTextControl,
  925.                                             0x0002,
  926.                                             0x1000,
  927.                                             0L,
  928.                                             (Long)EnterColorTextString,
  929.                                             31};
  930.  
  931. TextEditTemplate    ColorValueTextEdit =     {17,
  932.                                             0x00000501L,
  933.                                             {145,30,158,110},
  934.                                             editTextControl,
  935.                                             0x0000,
  936.                                             0x7400,
  937.                                             0L,
  938.                                             0x49800000L,
  939.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  940.                                             0L,
  941.                                             0,
  942.                                             0L,
  943.                                             0,
  944.                                             0L,
  945.                                             0,
  946.                                             0L,
  947.                                             0L,
  948.                                             8};
  949.  
  950. static char SetIconColorButtonString[] =    "\ptellFinderColorSelection";
  951.  
  952. SimpleButtonTemplate SetIconColorButton =    {7,
  953.                                             0x0000800EL,
  954.                                             {145,140,0,0},
  955.                                             simpleButtonControl,
  956.                                             0x0000,
  957.                                             fCtlProcRefNotPtr|fCtlWantsEvents,
  958.                                             0L,
  959.                                             (Long)SetIconColorButtonString};
  960.  
  961. /************************************************************************************************/                                    
  962.  
  963. /* Here's a button control used in to bring up the help window */
  964.  
  965. static char helpButtonString[] =    "\pHelp";
  966.  
  967. SimpleButtonTemplate helpButton =    {9,
  968.                                     0x0000300L,
  969.                                     {145,380,0,0},
  970.                                     simpleButtonControl,
  971.                                     0x0000,
  972.                                     fCtlProcRefNotPtr|fCtlWantsEvents,
  973.                                     0L,
  974.                                     (Long)helpButtonString,
  975.                                     NIL,
  976.                                     {'?','/',0x0100,0x3900}};
  977.  
  978. /************************************************************************************************/
  979. /*/
  980. /* This menu item template is used for the tellFinderAddToExtras menu which creates new menu items */
  981.  
  982. MenuItemTemplate tellFinderAddToExtrasMenuItem =    {0,                                /* Word - version number for template; must be set to zero */
  983.                                                     0x00000500L,                    /* Word - Menu item ID */
  984.                                                     0,                                /* Byte - Primary keystroke equivalent character */
  985.                                                     0,                                /* Byte - Alternate keystroke equivalent character */
  986.                                                     0,                                /* Byte - Character code for checked items */
  987.                                                     0x0000,                            /* Word - Menu item flags */
  988.                                                     (Long)"\pFinderXDA ID $xxxx"};    /* Long - Reference to menu item */
  989.  
  990. /************************************************************************************************/                                    
  991.  
  992. /* This control is used to display the pathnames from the stringListHandle returned from the */
  993. /* tellFinderGetSelectedIcons and tellFinderGetWindowIcons request codes */
  994.  
  995. TextEditTemplate MyWindCtl =     {9,
  996.                                 0x00001000L,
  997.                                 {0,0,157,560},
  998.                                 editTextControl,
  999.                                 0x0000,
  1000.                                 0x5400,
  1001.                                 0L,
  1002.                                 0x40000000L,
  1003.                                 {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1004.                                 (CtlRecHndl) 0xFFFFFFFF};
  1005.  
  1006.  
  1007. /************************************************************************************************/
  1008.  
  1009. /* Here's all the controls used with the tellFinderMatchFileToIcon request code */
  1010.  
  1011. static char MatchButtonString[] = "\pMatch It";
  1012.  
  1013. SimpleButtonTemplate MatchButton =            {7,
  1014.                                             0x00002000L,
  1015.                                             {147,450,0,0},
  1016.                                             simpleButtonControl,
  1017.                                             0x0000,
  1018.                                             fCtlProcRefNotPtr|fCtlWantsEvents,
  1019.                                             0L,
  1020.                                             (Long)MatchButtonString};
  1021.  
  1022. char    VotingBitsTextString[] = "(word) Voting Bits";
  1023.  
  1024. StaticTextTemplate VotingBitsStatText =        {9,
  1025.                                             0x00002001L,
  1026.                                             {2,100,15,440},
  1027.                                             statTextControl,
  1028.                                             0x0003,
  1029.                                             0x1000,
  1030.                                             0L,
  1031.                                             (Long)VotingBitsTextString,
  1032.                                             18,
  1033.                                             0};
  1034.  
  1035. TextEditTemplate    VotingBitsTextEdit =     {17,
  1036.                                             0x00002002L,
  1037.                                             {2,10,15,90},
  1038.                                             editTextControl,
  1039.                                             0x0000,
  1040.                                             0x7400,
  1041.                                             0L,
  1042.                                             0x49800000L,
  1043.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1044.                                             0L,
  1045.                                             0x0000,
  1046.                                             0L,
  1047.                                             0,
  1048.                                             0L,
  1049.                                             0,
  1050.                                             0L,
  1051.                                             0L,
  1052.                                             4};
  1053.  
  1054. char    MatchWhichTextString[] = "(word) Match Which";
  1055.  
  1056. StaticTextTemplate MatchWhichStatText =        {9,
  1057.                                             0x00002003L,
  1058.                                             {17,100,30,440},
  1059.                                             statTextControl,
  1060.                                             0x0003,
  1061.                                             0x1000,
  1062.                                             0L,
  1063.                                             (Long)MatchWhichTextString,
  1064.                                             18,
  1065.                                             0};
  1066.  
  1067. TextEditTemplate    MatchWhichTextEdit =     {17,
  1068.                                             0x00002004L,
  1069.                                             {17,10,30,90},
  1070.                                             editTextControl,
  1071.                                             0x0000,
  1072.                                             0x7400,
  1073.                                             0L,
  1074.                                             0x49800000L,
  1075.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1076.                                             0L,
  1077.                                             0x0000,
  1078.                                             0L,
  1079.                                             0,
  1080.                                             0L,
  1081.                                             0,
  1082.                                             0L,
  1083.                                             0L,
  1084.                                             4};
  1085.  
  1086. char    FileTypeTextString[] = "(word) File Type";
  1087.  
  1088. StaticTextTemplate FileTypeStatText =        {9,
  1089.                                             0x00002005L,
  1090.                                             {32,100,45,440},
  1091.                                             statTextControl,
  1092.                                             0x0003,
  1093.                                             0x1000,
  1094.                                             0L,
  1095.                                             (Long)FileTypeTextString,
  1096.                                             16,
  1097.                                             0};
  1098.  
  1099. TextEditTemplate    FileTypeTextEdit =         {17,
  1100.                                             0x00002006L,
  1101.                                             {32,10,45,90},
  1102.                                             editTextControl,
  1103.                                             0x0000,
  1104.                                             0x7400,
  1105.                                             0L,
  1106.                                             0x49800000L,
  1107.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1108.                                             0L,
  1109.                                             0x0000,
  1110.                                             0L,
  1111.                                             0,
  1112.                                             0L,
  1113.                                             0,
  1114.                                             0L,
  1115.                                             0L,
  1116.                                             4};
  1117.  
  1118. char    AuxTypeTextString[] = "(long) Aux Type";
  1119.  
  1120. StaticTextTemplate AuxTypeStatText =        {9,
  1121.                                             0x00002007L,
  1122.                                             {47,100,60,440},
  1123.                                             statTextControl,
  1124.                                             0x0003,
  1125.                                             0x1000,
  1126.                                             0L,
  1127.                                             (Long)AuxTypeTextString,
  1128.                                             15,
  1129.                                             0};
  1130.  
  1131. TextEditTemplate    AuxTypeTextEdit =         {17,
  1132.                                             0x00002008L,
  1133.                                             {47,10,60,90},
  1134.                                             editTextControl,
  1135.                                             0x0000,
  1136.                                             0x7400,
  1137.                                             0L,
  1138.                                             0x49800000L,
  1139.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1140.                                             0L,
  1141.                                             0x0000,
  1142.                                             0L,
  1143.                                             0,
  1144.                                             0L,
  1145.                                             0,
  1146.                                             0L,
  1147.                                             0L,
  1148.                                             8};
  1149.  
  1150. char    FilenameTextString[] = "Filename to match";
  1151.  
  1152. StaticTextTemplate FilenameStatText =        {9,
  1153.                                             0x00002009L,
  1154.                                             {62,410,90,580},
  1155.                                             statTextControl,
  1156.                                             0x0003,
  1157.                                             0x1000,
  1158.                                             0L,
  1159.                                             (Long)FilenameTextString,
  1160.                                             17,
  1161.                                             0};
  1162.  
  1163. TextEditTemplate    FilenameTextEdit =         {17,
  1164.                                             0x0000200AL,
  1165.                                             {62,10,85,400},
  1166.                                             editTextControl,
  1167.                                             0x0000,
  1168.                                             0x7400,
  1169.                                             0L,
  1170.                                             0x49800000L,
  1171.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1172.                                             0L,
  1173.                                             0x0000,
  1174.                                             0L,
  1175.                                             0,
  1176.                                             0L,
  1177.                                             0,
  1178.                                             0L,
  1179.                                             0L,
  1180.                                             255};
  1181.  
  1182. char    CreateDateTextString[] = "(8 bytes hex) Create date/time, GS/OS format";
  1183.  
  1184. StaticTextTemplate CreateDateStatText =        {9,
  1185.                                             0x0000200BL,
  1186.                                             {87,100,100,440},
  1187.                                             statTextControl,
  1188.                                             0x0003,
  1189.                                             0x1000,
  1190.                                             0L,
  1191.                                             (Long)CreateDateTextString,
  1192.                                             44,
  1193.                                             0};
  1194.  
  1195. TextEditTemplate    CreateDateTextEdit =     {17,
  1196.                                             0x0000200CL,
  1197.                                             {87,10,100,90},
  1198.                                             editTextControl,
  1199.                                             0x0000,
  1200.                                             0x7400,
  1201.                                             0L,
  1202.                                             0x49800000L,
  1203.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1204.                                             0L,
  1205.                                             0x0000,
  1206.                                             0L,
  1207.                                             0,
  1208.                                             0L,
  1209.                                             0,
  1210.                                             0L,
  1211.                                             0L,
  1212.                                             8};
  1213.  
  1214. char    ModDateTextString[] = "(8 bytes hex) Mod date/time, GS/OS format";
  1215.  
  1216. StaticTextTemplate ModDateStatText =        {9,
  1217.                                             0x0000200DL,
  1218.                                             {102,100,115,440},
  1219.                                             statTextControl,
  1220.                                             0x0003,
  1221.                                             0x1000,
  1222.                                             0L,
  1223.                                             (Long)ModDateTextString,
  1224.                                             41,
  1225.                                             0};
  1226.  
  1227. TextEditTemplate    ModDateTextEdit =         {17,
  1228.                                             0x0000200EL,
  1229.                                             {102,10,115,90},
  1230.                                             editTextControl,
  1231.                                             0x0000,
  1232.                                             0x7400,
  1233.                                             0L,
  1234.                                             0x49800000L,
  1235.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1236.                                             0L,
  1237.                                             0x0000,
  1238.                                             0L,
  1239.                                             0,
  1240.                                             0L,
  1241.                                             0,
  1242.                                             0L,
  1243.                                             0L,
  1244.                                             8};
  1245.  
  1246. char    AccessTextString[] = "(word) Local Access";
  1247.  
  1248. StaticTextTemplate AccessStatText =            {9,
  1249.                                             0x0000200FL,
  1250.                                             {117,100,130,440},
  1251.                                             statTextControl,
  1252.                                             0x0003,
  1253.                                             0x1000,
  1254.                                             0L,
  1255.                                             (Long)AccessTextString,
  1256.                                             19,
  1257.                                             0};
  1258.  
  1259. TextEditTemplate    AccessTextEdit =         {17,
  1260.                                             0x00002010L,
  1261.                                             {117,10,130,90},
  1262.                                             editTextControl,
  1263.                                             0x0000,
  1264.                                             0x7400,
  1265.                                             0L,
  1266.                                             0x49800000L,
  1267.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1268.                                             0L,
  1269.                                             0x0000,
  1270.                                             0L,
  1271.                                             0,
  1272.                                             0L,
  1273.                                             0,
  1274.                                             0L,
  1275.                                             0L,
  1276.                                             4};
  1277.  
  1278. char    FlagsTextString[] = "(word) Flags: 15 = extended file, all others reserved";
  1279.  
  1280. StaticTextTemplate FlagsStatText =            {9,
  1281.                                             0x00002011L,
  1282.                                             {132,100,145,540},
  1283.                                             statTextControl,
  1284.                                             0x0003,
  1285.                                             0x1000,
  1286.                                             0L,
  1287.                                             (Long)FlagsTextString,
  1288.                                             53,
  1289.                                             0};
  1290.  
  1291. TextEditTemplate    FlagsTextEdit =         {17,
  1292.                                             0x00002012L,
  1293.                                             {132,10,145,90},
  1294.                                             editTextControl,
  1295.                                             0x0000,
  1296.                                             0x7400,
  1297.                                             0L,
  1298.                                             0x49800000L,
  1299.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1300.                                             0L,
  1301.                                             0x0000,
  1302.                                             0L,
  1303.                                             0,
  1304.                                             0L,
  1305.                                             0,
  1306.                                             0L,
  1307.                                             0L,
  1308.                                             4};
  1309.  
  1310. char    EOFTextString[] = "(long) Combined (resource and data fork) EOF";
  1311.  
  1312. StaticTextTemplate EOFStatText =            {9,
  1313.                                             0x00002013L,
  1314.                                             {147,100,160,440},
  1315.                                             statTextControl,
  1316.                                             0x0003,
  1317.                                             0x1000,
  1318.                                             0L,
  1319.                                             (Long)EOFTextString,
  1320.                                             44,
  1321.                                             0};
  1322.  
  1323. TextEditTemplate    EOFTextEdit =             {17,
  1324.                                             0x00002014L,
  1325.                                             {147,10,160,90},
  1326.                                             editTextControl,
  1327.                                             0x0000,
  1328.                                             0x7400,
  1329.                                             0L,
  1330.                                             0x49800000L,
  1331.                                             {0xFFFF,0xFFFF,0xFFFF,0xFFFF},
  1332.                                             0L,
  1333.                                             0x0000,
  1334.                                             0L,
  1335.                                             0,
  1336.                                             0L,
  1337.                                             0,
  1338.                                             0L,
  1339.                                             0L,
  1340.                                             8};
  1341.  
  1342. /************************************************************************************************/                                    
  1343.